package com.whw.springboot.bcucb.service;

import com.whw.springboot.bcucb.entity.Message;
import com.whw.springboot.bcucb.entity.Comment;

import java.util.List;

public interface CommentService {
    Message<?> deleteByPrimaryKey(int commentId);

    Message<?> insert(Comment record);

    Message<?> insertSelective(Comment record);

    Message<Comment> selectByPrimaryKey(int commentId);

    Message<?> updateByPrimaryKeySelective(Comment record);

    Message<?> updateByPrimaryKey(Comment record);

    Message<List<Comment>> selectAll();
}
